ARD2  1.00 for Rev B. Hardware
Airbag Reference Demonstrator using MPC5604P
Acquisition.c File Reference

Acquisition state for the ARD2 application. More...

#include "derivative.h"
#include "compile_options.h"
#include "HAL.h"
#include "Acquisition.h"
#include "SM.h"
#include "SBC_AL.h"
#include "Central_Accel_AL.h"
#include "MailScheduler.h"
#include "Application_Globals.h"

Functions

uint32_t u32fnStateAcquisition (void)
 Acquisition state.

Variables

const uint16_t cau16PreAcquiValidStates []

Detailed Description

Acquisition state for the ARD2 application.

Copyright (C) 2011 Freescale Semiconductor Freescale Confidential Proprietary

Author:
Freescale Semiconductor
SASD Automotive
r11515
Version:
Date:
Warning:
(If needed)

History:


Function Documentation

uint32_t u32fnStateAcquisition ( void  )

Acquisition state.

Parameters:
Void.
Returns:
u32Status: Clear if it is a valid source; SM_STATE_IS_EXECUTING if this state was entered while another one was already executing; SM_INVALID_SOURCE_STATE if the source state is not in the pu16ValidStateList; other error codes are also possible.

Variable Documentation

const uint16_t cau16PreAcquiValidStates[]
Initial value:
{
  SM_STATE_APP_INIT, SM_STATE_ERROR, SM_STATE_GUI, SM_STATE_DEPLOYMENT }

List of valid source states for this state